﻿@model qkview.Models.LoginModel
@{
    Layout = null;
    }

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>QKView: Create and Share Cheat Sheets, Quick Reference Guides Online</title>
    <meta name="description" content="QKView provides you to create and share quick reference guide, cheat-sheets, quick view notes online." />
    <meta name="keywords" content="quick reference guides, cheat-sheets, quick view, notes, boards" />
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
         @Html.Partial("_GoogleAnalytics")
</head>
<body>
    <div id="body">
<div id="main-content" style="padding-bottom:10px">
    <div class="introHome">        
          <h1><a href="@Url.RouteUrl("Root")"><img src="~/Images/logo.png" /></a>
        </h1>
       @* <h1 style="font:normal 72px Georgia; color:#1E598E; font-style:italic"  >Q<sup>k</sup>View</h1>*@
        <p>Create and Share Cheat Sheets, Quick Reference Guides Online</p>

       

    </div>
    <div class="todoList" id="loginPanel">
        <section id="localLoginPanel">
            <h2>Log in</h2>

            @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
{
    @Html.AntiForgeryToken()
     @Html.ValidationSummary(true) 
    <fieldset>
        <legend>Log in Form</legend>
        <ol>
            <li>
                @Html.LabelFor(m => m.UserName)                
                @Html.TextBoxFor(m => m.UserName, new { autofocus = "autofocus", id = "loginName" })  
                @Html.ValidationMessageFor(m => m.UserName)             
            </li>
            <li>
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)        
                  @Html.ValidationMessageFor(m => m.Password)      
            </li>
            <li>
                @Html.CheckBoxFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe, new { @class = "checkbox" })
            </li>
            <li>
                <input type="submit" class="linkButton" value="Log in" />
            </li>
        </ol>
   
    </fieldset>
}






          
        </section>
        <section id="socialLoginPanel">
            <h2>Log in with</h2>
            @Html.Action("ExternalLoginsList", "Account", new { ReturnUrl = ViewBag.ReturnUrl })
        </section>
        <p style="padding-left:20px">First time here? @Html.ActionLink("Register", "Register") </p>
        <p style="padding-left:20px"><a id="recoverPassword" href="@Url.Action("ForgotPassword", "Account")">Recover my password</a></p>

    </div>
    <div style="clear:both;width:100%"></div>
</div>

         </div>

      @Html.Partial("_Footer")

     @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")

</body>
</html>